package com.chuangjiangx.member.basic.ddd.application;

import com.chuangjiangx.commons.wx.auth.WXWebAuthType;
import com.chuangjiangx.member.basic.ddd.domain.service.MemberDomainService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author cj-ch
 * @date 2018/2/27 上午11:53
 */
@Service
public class EntryApplication {

    @Autowired
    private MemberDomainService memberDomainService;

    public String h5EntryUrl(Long merchantId){
        return  memberDomainService.h5EntryUrl(merchantId);
    }

    public String merchantWxWebAuthUrl(Long merchantId, WXWebAuthType wxWebAuthType){
        return memberDomainService.merchantWxWebAuthUrl(merchantId,wxWebAuthType);
    }

    public String isvWxWebAuthUrl(Long merchantId, WXWebAuthType wxWebAuthType){
        return memberDomainService.isvWxWebAuthUrl(merchantId,wxWebAuthType);
    }


}
